package com.kingbook.entity;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 用户注册表
 * 
 * @Author Bucky
 * @Date 2019-12-18 21:47:54
 * @Version 1.0
 */
@lombok.Data
public class User implements Serializable{

    private static final long serialVersionUID = -6241852183213295059L;

    /**
     *  (主键 auto_increment)
     */
    private int id;

    private int mid;

    /**
     * unionId
     */
    private String unionId;

    /**
     * openid
     */
    private String openId;

    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 用户头像
     */
    private String avatarUrl;

    /**
     * 登录次数
     */
    private int loginTimes;

    /**
     * 绑定号码
     */
    private String phone;

    private Timestamp updateDate;

    /**
     * 注册时间
     */
    private Timestamp regDate;

    private int gender;

    private String city;

    private String province;

}